FROM yandex/clickhouse-server:latest

WORKDIR /docker-entrypoint-initdb.d
ENV LANG=C.UTF-8
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime 
ADD clickhouse.sql init.sh ./
RUN cd ~

EXPOSE 9000
